#include<stdio.h>
#include<sys/types.h>
#include<sys/stat.h>
#include<fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include<string.h>
int main(int argc,char **argv)
{
    struct stat file1;
    int ret = stat(argv[1],&file1);
    printf("%s size is %ld\n",argv[1],file1.st_size);
    return 0;
}